package com.hskn.hss.utils.redis.key;

import com.hskn.hss.utils.StringUtils;
import com.hskn.hss.utils.redis.BasePrefix;

/**
 * 该车辆报警模式二速度的持续时间
 */
public class CarAlarmSpeedKeepTimeKeyToday extends BasePrefix {

    public static final int TOKEN_EXPIRE = StringUtils.getSecondsNextEarlyMorning().intValue();

    public static final String CAR_ALARM_SPEED_KEEP_TIME_PREFIX = "CAR_ALARM_SPEED_KEEP_TIME_TODAY_";

    private CarAlarmSpeedKeepTimeKeyToday(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    public static CarAlarmSpeedKeepTimeKeyToday token = new CarAlarmSpeedKeepTimeKeyToday(TOKEN_EXPIRE, CAR_ALARM_SPEED_KEEP_TIME_PREFIX);
}
